//实现多个字符从两端移动，向中间汇聚
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main()
{
    char arr1[]="hello bit!!!!!!!";
    char arr2[]="################";
    int left=0;
    int right=strlen(arr1)-1;
    while (left<=right)
    {
        arr2[left] = arr1[left];
        arr2[right] = arr1[right];
        printf("%s\n",arr2);
        _sleep(1000);//休眠1000毫秒
        system("cls");//清理控制台屏幕的信息
        left++;
        right--;
    }
    printf("%s\n", arr2);

    return 0;
}